package cn.xh.org.service;

import cn.xh.basic.service.IBaseService;
import cn.xh.basic.util.PageList;
import cn.xh.org.domain.Department;
import cn.xh.org.domain.Employee;
import cn.xh.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    //1.通过继承定义基础接口

    //2.自己写扩展接口
    /**
     * 查询部门树  只查询一级和二级
     * @return
     */
    List<Department> getDeptTree();
}
